/**
 * <p>
 * 弹窗配置
 *
 * @Author：Roy
 * @Description：项目
 * @Date：Create by 2023-11-23 09:55:22
 */
const popConfig = {
  'EnergyCategory': {
    'energyCategory-add': {
      popTitle: '添加分类',
      popType: 'OperateEnergyCategory',
      visible: true,
      popConfig: {
        width: '50%',
        maxHeight: "auto",
        destroy: true,
        popType: 'add'
      }
    },
    // 'kCarbonEmissionRange-import': {
    //   popTitle: '导入',
    //   popType: 'OperateEmissionRange',
    //   visible: true,
    //   popConfig: {
    //     width: '50%',
    //     maxHeight: "auto",
    //     destroy: true,
    //     popType: 'add'
    //   }
    // },
    'energyCategory-edit': {
      popTitle: '编辑范围',
      popType: 'OperateEnergyCategory',
      visible: true,
      popConfig: {
        width: '50%',
        maxHeight: "auto",
        destroy: true
      }
    },
    'energyCategory-energy': {
      popTitle: '能源列表',
      popType: 'EnergyList',
      visible: true,
      popConfig: {
        width: '50%',
        destroy: true,
        maxHeight: '5000px',
        paramName: 'energyCategory',
        path: 'energyConsumptionType.queryList',
      }
    },
    'energyCategory-delete': {
      showType: 'confirm',
      confirmHeader: '提示',
      confirmContent: '将删除XXX，是否确认删除？',
      splitProp: 'categoryName',
      paramsProp: { id: 'id' },
      path: 'energyCategory.deleteById'
    },
    'scene-project-deleteBatch': {
      showType: 'confirm',
      dataType: 'multipleList',
      confirmHeader: '提示',
      confirmContent: '将批量删除XXX项目及所有绑定关联的数据，是否确认删除？',
      splitProp: 'projectName',
      paramsProp: { ids: 'id' },
      path: 'energyCategory.batchDelete'
    }
  }
}

export default {}
export { popConfig }
